using UnityEngine;
// [Assembly-CSharp-firstpass.dll].SimpleOCExample
public class SimpleOCExample : MonoBehaviour
{
    // Fields
    public UnityEngine.UI.Text Result;
    
    // Methods
    private void Start()
    {
        goto typeof(UnityEngine.UI.Text).__il2cppRuntimeField_5E8;
    }
    private void OnEnable()
    {
        Crosstales.OnlineCheck.OnlineCheck.Crosstales.OnlineCheck.OnlineCheck.OnlineCheckComplete val_2 = 536899519;
        val_2 = new Crosstales.OnlineCheck.OnlineCheck.Crosstales.OnlineCheck.OnlineCheck.OnlineCheckComplete(object:  this, method:  1610681797);
        Crosstales.Common.Util.Singleton<System.Object>.Instance.add_OnOnlineCheckComplete(value:  val_2);
    }
    private void OnDisable()
    {
        if((Crosstales.Common.Util.Singleton<System.Object>.Instance) == 0)
        {
                return;
        }
        
        Crosstales.OnlineCheck.OnlineCheck.Crosstales.OnlineCheck.OnlineCheck.OnlineCheckComplete val_4 = 536899519;
        val_4 = new Crosstales.OnlineCheck.OnlineCheck.Crosstales.OnlineCheck.OnlineCheck.OnlineCheckComplete(object:  this, method:  1610681797);
        Crosstales.Common.Util.Singleton<System.Object>.Instance.remove_OnOnlineCheckComplete(value:  val_4);
    }
    public void Check()
    {
        Crosstales.Common.Util.Singleton<System.Object>.Instance.Refresh(triggerCallbacks:  false);
    }
    private void onOnlineCheckComplete(bool isconnected, UnityEngine.NetworkReachability networkreachability)
    {
        var val_1 = (isconnected != true) ? 27494496 : 27488616;
        goto typeof(UnityEngine.UI.Text).__il2cppRuntimeField_5E8;
    }
    public SimpleOCExample()
    {
    
    }

}
